
<include file="Public/ace_header" />
<div class="row">
    <div class="col-xs-12">
        <div class="table-responsive">
            <table id="sample-table-1" class="table table-striped table-bordered table-hover">
                <if condition="detail[name]">
                <thead>
                    <tr>
                        <th class="center" colspan="2">{$detail["name"]}信息</th>
                    </tr>
                </thead>
                </if>
                <tbody>
                <tr>
                    <td class="center" width="20%">ID</td>
                    <td class="center">{$detail["id"]}</td>
                </tr>
                <tr>
                    <td class="center" width="20%">用户</td>
                    <td class="center"><php> echo D(User)->where(["id"=>$detail[user_id]])->find()["name"]; </php></td>
                </tr>
                <tr>
                    <td class="center" width="20%">支付方式</td>
                    <td class="center">{$detail["pay_type"]}</td>
                </tr>
                <tr>
                    <td class="center" width="20%">金额</td>
                    <td class="center">{$detail["amount"]}</td>
                </tr>
                <tr>
                    <td class="center" width="20%">备注</td>
                    <td class="center">{$detail["remark"]}</td>
                </tr>
                <tr>
                    <td class="center" width="20%">订单类型</td>
                    <td class="center">{$detail["order_type"]}</td>
                </tr>
                <tr>
                    <td class="center" width="20%">订单ID</td>
                    <td class="center">{$detail["order_id"]}</td>
                </tr>
                <tr>
                    <td class="center" width="20%">创建时间</td>
                    <td class="center">{$detail["create_time"]}</td>
                </tr>
                <tr>
                    <td class="center" width="20%">更新时间</td>
                    <td class="center">{$detail["update_time"]}</td>
                </tr>
                </tbody>
            </table>
            <div class="clearfix form-actions">
                <div style="margin-left: 40%;">
                    <button class="btn btn-sm return" type="button">
                        <i class="icon-reply bigger-110"></i>
                        返回
                    </button>
                </div>
            </div>

        </div>
    </div>
</div>
<include file="Public/ace_footer" />